Skip to content

Conversation

hageboeck
Copy link
Member

@hageboeck hageboeck commented Aug 22, 2025

This is part 4 of the work in #19725.

This PR is a refactor of the members of all TTree snapshot helpers, which will allow keeping all necessary data for a column in a single struct. This will simplify snapshot with variations, since varied columns can be created by copying the struct of the original column, and overriding a few members.
If the data hadn't been colocated like it's done here, it would become much harder to keep everything in a consistent state for both nominal and variations.

@hageboeck hageboeck self-assigned this Aug 22, 2025
@hageboeck hageboeck requested a review from martamaja10 as a code owner August 22, 2025 13:24
@hageboeck hageboeck added the skip ci Skip the full builds on the actions runners label Aug 22, 2025
@hageboeck hageboeck requested a review from vepadulano as a code owner August 22, 2025 13:24
Copy link

github-actions bot commented Aug 22, 2025

Test Results

    19 files      19 suites   3d 9h 52m 41s ⏱️
 3 665 tests  3 664 ✅ 0 💤 1 ❌
68 179 runs  68 178 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 2d6683f.

♻️ This comment has been updated with latest results.

Copy link
Member

@vepadulano vepadulano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The last commit LGTM, but since I requested changes in #19726 I will wait for that PR to be merged before continuing

@hageboeck hageboeck force-pushed the snapshot_vary_branchData branch 2 times, most recently from 6b2fefe to 9973a55 Compare September 1, 2025 12:30
@hageboeck hageboeck removed the skip ci Skip the full builds on the actions runners label Sep 1, 2025
@hageboeck hageboeck force-pushed the snapshot_vary_branchData branch from 9973a55 to 5afcf96 Compare September 1, 2025 13:34
@hageboeck hageboeck requested a review from vepadulano September 2, 2025 12:41
Copy link
Member

@vepadulano vepadulano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice thanks!

hageboeck and others added 2 commits September 17, 2025 09:53
In order to implement snapshots with systematic variations, it is
beneficial to place all members related to output branches into structs.
At present, this only constitutes a move from member of SnapshotHelper
to member of RBranchData struct.

The TTree snapshot helpers are changed accordingly.

Co-authored-by: Vincenzo Eduardo Padulano <[email protected]>
It is superseded by RBranchData.
@hageboeck hageboeck force-pushed the snapshot_vary_branchData branch from 5afcf96 to 2d6683f Compare September 17, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants